
package org.darcy.entity;

import java.io.Serializable;
import java.util.Date;

import org.darcy.entity.work.WorkFlowObject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description="FlowLeaveCompany: 离职交接")
@TableName(value = "flow_leave_company")
@Getter
@Setter
public class FlowLeaveCompany extends WorkFlowObject implements Serializable {

	private static final long serialVersionUID = 1L;

	@Schema(description = "表单编号")
	@TableField(value = "`form_no`")
	private String formNo;

	@Schema(description = "离职员工id")
	@TableField(value = "`leave_staff_id`")
	private Integer leaveStaffId;

	@Schema(description = "交接员工id")
	@TableField(value = "`accept_staff_id`")
	private Integer acceptStaffId;

	@Schema(description = "离职时间")
	@TableField(value = "`leave_time`")
	private Date leaveTime;

	@Schema(description = "工作交接事项")
	@TableField(value = "`work_remark`")
	private String workRemark;

	@Schema(description = "财务交接事项")
	@TableField(value = "`financial_remark`")
	private String financialRemark;

	@Schema(description = "状态，0：草稿；1：提交；2：审批通过；-1，审批拒绝")
	@TableField(value = "`status`")
	private Integer status;

	@Schema(description = "创建时间")
	@TableField(value = "`create_time`")
	private Date createTime;

	@Schema(description = "更新时间")
	@TableField(value = "`update_time`")
	private Date updateTime;

	@Schema(description = "删除标识0：删除；1：存在")
	@TableField(value = "`del_flag`")
	private Integer delFlag;

}
